import Vue from 'vue';
import App from '@/App.vue';
import router from './router';
import store from './store';
import VueBus from 'vue-bus';
import VueAwesomeSwiper from 'vue-awesome-swiper'
import myCharts from './utils/charts.js';
import inputSelect from '@/components/inputSelect/Index.vue'
import '../theme/index.css';
import 'swiper/swiper-bundle.css'
import '@/assets/style/iconfont.css';
import '@/assets/style/reset.css';
import '@/assets/style/common.css';
import '@/common/element';


import eIconPicker from 'e-icon-picker';
import "e-icon-picker/lib/symbol.js"; //基本彩色图标库
import 'e-icon-picker/lib/index.css'; // 基本样式，包含基本图标
import 'font-awesome/css/font-awesome.min.css'; //font-awesome 图标库
import 'element-ui/lib/theme-chalk/icon.css'; //element-ui 图标库


Vue.config.productionTip = false;
Vue.use(VueBus);
Vue.use(myCharts);
Vue.use(VueAwesomeSwiper);
Vue.component('inputSelect', inputSelect);
//全局删除增加图标
Vue.use(eIconPicker, {
  FontAwesome: true,
  ElementUI: true,
  eIcon: true,//自带的图标，来自阿里妈妈
  eIconSymbol: true,//是否开启彩色图标
  addIconList: [],
  removeIconList: [],
  zIndex: 3100//选择器弹层的最低层,全局配置
});

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
